<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>罗米后台管理-后台管理</title>
    <link rel="stylesheet" href="__PUBLIC__/css/pintuer.css">
    <link rel="stylesheet" href="__PUBLIC__/css/admin.css">
    <script src="__PUBLIC__/js/jquery.js"></script>
    <script src="__PUBLIC__/js/pintuer.js"></script>
    <script src="__PUBLIC__/js/respond.js"></script>
    <script src="__PUBLIC__/js/admin.js"></script>
    <link type="image/x-icon" href="/favicon.ico" rel="shortcut icon" />
    <link href="/favicon.ico" rel="bookmark icon" />
   
    <base target="iframe"/>
</head>

<body>
<div class="lefter">
	<div class="logo">
		<a href="#" target="_blank">
			<img src="__PUBLIC__/images/logo.png" alt="后台管理系统" width="80px" />
		</a>
	</div>
</div>
<div class="righter nav-navicon" id="admin-nav">
	<div class="mainer">
		<div class="admin-navbar">
			<span class="float-right">

            	<a class="button button-little bg-main" href="__APP__" target="_blank">前台首页</a>

                <a class="button button-little bg-yellow" href="{:U('Lmkj/Login/loginOut')}">注销登录</a>

            </span>
			<ul class="nav nav-inline admin-nav">
				<li><a href="{:U('Lmkj/Index/welcome')}" class="icon-home"> 开始</a>
					<ul>
						<li><a href="{:U('Lmkj/System/index')}" >系统设置</a>
						</li>
						<li><a href="{:U('Lmkj/Content/index')}" >内容管理</a>
						</li>
						<!--<li><a href="#">订单管理</a>
						</li>-->
						<li class="active"><a href="#">会员管理</a>
						</li>
						<!--<li><a href="#">文件管理</a>
						</li>-->
						<li><a href="#">栏目管理</a>
						</li>
					</ul>
				</li>
				<li><a href="{:U('Lmkj/System/index')}" class="icon-cog"> 系统</a>
					<ul>
						<li><a href="#">全局设置</a>
						</li>
						<li class="active"><a href="#">系统设置</a>
						</li>
						<li><a href="#">会员设置</a>
						</li>
						<li><a href="#">积分设置</a>
						</li>
					</ul>
				</li>
				<li><a href="{:U('Lmkj/Content/index')}" class="icon-file-text"> 内容</a>
					<ul>
						<li><a href="{:U('Lmkj/Content/showAddArticle')}">添加文章</a>
						</li>
						<li class="active"><a href="{:U('Lmkj/Content/index')}">文章管理</a>
						</li>
						<li> <a href="{:U('Lmkj/Content/categoryList')}">栏目管理</a>
						</li>
						<li><a href="{:U('Lmkj/Content/showLinkManage')}">链接管理</a>
						</li>
							
					</ul>
				</li>
				<!--<li><a href="#" class="icon-shopping-cart"> 订单</a>
				</li>-->
				<li><a href="#" class="icon-user"> 会员</a>
				</li>
				<!--<li><a href="#" class="icon-file"> 文件</a>
				</li>-->
				<li><a href="#" class="icon-th-list"> 栏目</a>
				</li>
			</ul>
		</div>
		<div class="admin-bread">
			<span>您好，<?php echo $_SESSION['userName']->user ?>，欢迎您的光临。</span>
			<ul class="bread">
				<li><a href="{:U('Lmkj/Index/index')}" class="icon-home"> 开始</a>
				</li>
				<li>后台首页</li>
			</ul>
		</div>
	</div>
</div>
<div class="admin">
<iframe src="{:U('Lmkj/Index/welcome')}" scrolling="auto" frameborder="0" style="height:100%;width:100%;" name="iframe"></iframe>
</div>
<script type="text/javascript">
	$(function(){
		//正栏
		$(".nav li").click(function(){
			$(this).addClass('active').siblings().removeClass('active');
			var nav = $(this).find('a').eq(0).html();
			var cla = $(this).find('a').eq(0).attr('class');
			var href = $(this).find('a').eq(0).attr('href');
			//获得当前子菜单选中的
			var son = $(this).find('li.active a').html();
			
			$('.bread li').eq(0).find('a').html(nav).attr({'class':cla,'href':href});
			$('.bread li').eq(1).html(son);
		})
		//第一次运行的时候让li第一个选中并显示
		$(".nav li").eq(0).trigger('click');
		
		//获得当前的选中 侧栏）
		$(".nav li").find('li').click(function(){
			$(this).addClass('active').siblings().removeClass('active');
		})
		

		
		
		
	})
</script>

</body>
</html>